package rladidxo.basic;

public class J01_Professor {
public static void main(String[] args) {
	//변수선언
	String name;
	String number;
	String major;
	String name1;
	String number1;
	String major1;
	String name2;
	String number2;
	String major2;
	String name3;
	String number3;
	String major3;
	
	//데이터 삽입 및  출력
	name = "이순신";
	number = "301";
	major = "프로그래밍";	
	System.out.println("교수번호	이름		전공분야");
	System.out.print(number+"	");
	System.out.print(name+"		");
	System.out.println(major+"		");
	name1 = "정약용";
	number1 = "445";
	major1 = "의상디자인";	

	System.out.print(number1+"	");
	System.out.print(name1+"		");
	System.out.println(major1+"		");
	name2 = "김유신";
	number2 = "556";
	major2 = "식품영양";	

	System.out.print(number2+"	");
	System.out.print(name2+"		");
	System.out.println(major2+"		");
	name3 = "이성계";
	number3 = "504";
	major3 = "철학";	

	System.out.print(number3+"	");
	System.out.print(name3+"		");
	System.out.println(major3+"		");


	System.out.println();
	System.out.println("교수번호	이름		전공분야");
	System.out.println("301	이순신		프로그래밍");
	System.out.println("445	정약용		의상디자인");
	System.out.println("556	김유신		식품영양");
	System.out.println("504	이성계		철학");
		}
}

